lookup

abstract suspend fun lookup(did: String, didUrl: String?): List<JWK>?(source)

Lookup the public keys from a DID document.

Return

the matching public keys or null in case lookup fails for any reason

Parameters

did

the identifier of the DID document

didUrl

optional DID URL, that is either absolute or relative to did, indicating the exact public key to lookup from the DID document